﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public class Blog : BaseEntity
    {
        public string Title { get; set; }
        public string Content { get; set; }
        public int ReadCount { get; set; }
        public int UserId { get; set; }
        public int DictionaryId { get; set; }

        [SugarColumn(IsIgnore = true)]
        public User Writer { get; set; }

        [SugarColumn(IsIgnore = true)]
        public Dictionary BlogType { get; set; }
    }
}
